package com.hl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 会员评价对象 member_reviews
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
public class MemberReviews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 商品ID */
    private Integer productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 会员ID */
    private Integer memberId;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String memberName;

    /** 评价 */
    @Excel(name = "评价")
    private String reviewContent;

    /** 物流评分(1-5分) */
    @Excel(name = "物流评分(1-5分)")
    private Integer logisticsScore;

    /** 服务评分(1-5分) */
    @Excel(name = "服务评分(1-5分)")
    private Integer serviceScore;

    /** 描述评分(1-5分) */
    @Excel(name = "描述评分(1-5分)")
    private Integer descriptionScore;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    /** 页面展示(0-不展示，1-展示) */
    @Excel(name = "页面展示(0-不展示，1-展示)")
    private Integer isDisplay;

    /** 店铺ID */
    private Integer shopId;

    /** 订单ID */
    private Integer dingdanId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }

    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }

    public void setReviewContent(String reviewContent) 
    {
        this.reviewContent = reviewContent;
    }

    public String getReviewContent() 
    {
        return reviewContent;
    }

    public void setLogisticsScore(Integer logisticsScore) 
    {
        this.logisticsScore = logisticsScore;
    }

    public Integer getLogisticsScore() 
    {
        return logisticsScore;
    }

    public void setServiceScore(Integer serviceScore) 
    {
        this.serviceScore = serviceScore;
    }

    public Integer getServiceScore() 
    {
        return serviceScore;
    }

    public void setDescriptionScore(Integer descriptionScore) 
    {
        this.descriptionScore = descriptionScore;
    }

    public Integer getDescriptionScore() 
    {
        return descriptionScore;
    }

    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }

    public void setIsDisplay(Integer isDisplay) 
    {
        this.isDisplay = isDisplay;
    }

    public Integer getIsDisplay() 
    {
        return isDisplay;
    }

    public void setShopId(Integer shopId) 
    {
        this.shopId = shopId;
    }

    public Integer getShopId() 
    {
        return shopId;
    }

    public void setDingdanId(Integer dingdanId) 
    {
        this.dingdanId = dingdanId;
    }

    public Integer getDingdanId() 
    {
        return dingdanId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("reviewContent", getReviewContent())
            .append("logisticsScore", getLogisticsScore())
            .append("serviceScore", getServiceScore())
            .append("descriptionScore", getDescriptionScore())
            .append("reviewTime", getReviewTime())
            .append("isDisplay", getIsDisplay())
            .append("shopId", getShopId())
            .append("dingdanId", getDingdanId())
            .toString();
    }
}
